package com.clstu.ploy_;

public class Master {
    private String name;

    public Master(String name) {
        this.name = name;
    }

    public void feed(Animal animal,Food food){
        System.out.println(name+"正在给"+animal.getName()+"投喂"+food.getName());
    }
}
